package com.example.supplychainbackend.entity.plan;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.*;

@Entity
@Table(name = "plan_bom")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BOMInfoEntity {
    @Id
    String materialCode;

    String materialName;
    String materialDesc;
    Integer substituteType;
    String substituteGroup;
    Integer substituteGroupQty;
    Integer quantity;
    String manufacturer;
    String storageLocation;
    String unit;
    String remarks;
    Integer componentScrapRate;
    Integer processScrapRate;
    boolean isScrapAssembly;
    Integer specialProcurementType;
}
